import { MockAjax } from "@/mockApi/MockAjax";
// import { customAlphabet } from "nanoid";

const rankingTable = [
  ["02/08/13:01", "Tom", "鲁A1234", "是", "幸福小区一单元203"],
  ["02/08/13:02", "mack", "鲁A1235", "是", "幸福小区一单元204"],
  ["02/08/13:03", "join", "鲁A1236", "是", "幸福小区一单元205"],
  ["02/08/13:04", "eric", "鲁A1237", "否", "幸福小区一单元206"],
  ["02/08/13:05", "ssed", "鲁A1238", "是", "幸福小区一单元207"],
  ["02/08/13:06", "mary", "鲁A1239", "否", "幸福小区一单元208"],
  ["02/08/13:07", "jeck", "鲁A1240", "是", "幸福小区一单元209"],
  ["02/08/13:08", "eily", "鲁A1231", "否", "幸福小区一单元210"],
  ["02/08/13:09", "tony", "鲁A1232", "是", "幸福小区一单元211"],
  ["02/08/13:10", "jon", "鲁A1233", "是", "幸福小区一单元212"],

  // {
  //   datatime: "02/08/13:01",
  //   carcode: "鲁A1234",
  //   flag: "是",
  // },
];

export const ranks = new MockAjax("/api/mock-ranking");

ranks.initTable(rankingTable);
